import Vue from 'vue'
import router from './router'
import store from './store'
import App from './App.vue'
import './plugins/element.js'
import i18n from './lang'
import './element-variables.scss'
import {messages} from './assets/js/common'

import '@/assets/icon/iconfont.css'
import '@/assets/icon/iconfont.js'
import installI18n from './lang/index'

// Is development or production
if(process.env.NODE_ENV == "development") {
  console.log(process.env.VUE_APP_LOGOUT_URL);
} else {
  console.log(process.env.VUE_APP_LOGOUT_URL);
}

//Vue.use(Router)

Vue.prototype.$message = messages
Vue.config.productionTip = false

new Vue({
  i18n,
  router,
  store,
  render: h => h(App)
}).$mount('#app')
